/***********************************************************
 * Product Name: ExcelQuicker
 * Copyright (c)2005, Eunge
 * Author: Eunge
 * Web Site: www.eudev.net
 * Mail/MSN: eudev.net@yeah.net
 * ********************************************************/
using System;

namespace ExcelQuicker.Framework
{
	/// <summary>
	/// Int32-EQObject value
	/// </summary>
	[Serializable]
	internal class EQDualValue
	{
		private int mKey;
		private EQObject mValue;

		/// <summary>
		/// Key value. Can be duplicate
		/// </summary>
		public int Key
		{
			get
			{
				return this.mKey;
			}
		}

		/// <summary>
		/// Value
		/// </summary>
		public EQObject Value
		{
			get
			{
				return this.mValue;
			}
		}

		/// <summary>
		/// Initialize object
		/// </summary>
		/// <param name="key"></param>
		/// <param name="obj"></param>
		public EQDualValue(int key, EQObject obj)
		{
			this.mKey = key;
			this.mValue = obj;
		}
	}
}
